package com.boglond.entity;

import lombok.Data;
import lombok.ToString;

import java.util.List;

@Data
@ToString
public class TableInfoDO {

    private String tableName;

    private String upperTableName;

    private String url;

    private String entityName;

    private String primaryKeyColumn;

    private String primaryKeyName;

    private String primaryKeyType;

    /**
     * 列名拼接成的字符串
     */
    private String columnsStr;

    private List<ColumnInfoDO> columnsInfo;

    public String getTableName() {
        return tableName;
    }

    public void setTableName(String tableName) {
        this.tableName = tableName;
    }

    public String getUpperTableName() {
        return upperTableName;
    }

    public void setUpperTableName(String upperTableName) {
        this.upperTableName = upperTableName;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getEntityName() {
        return entityName;
    }

    public void setEntityName(String entityName) {
        this.entityName = entityName;
    }

    public String getPrimaryKeyColumn() {
        return primaryKeyColumn;
    }

    public void setPrimaryKeyColumn(String primaryKeyColumn) {
        this.primaryKeyColumn = primaryKeyColumn;
    }

    public String getPrimaryKeyName() {
        return primaryKeyName;
    }

    public void setPrimaryKeyName(String primaryKeyName) {
        this.primaryKeyName = primaryKeyName;
    }

    public String getPrimaryKeyType() {
        return primaryKeyType;
    }

    public void setPrimaryKeyType(String primaryKeyType) {
        this.primaryKeyType = primaryKeyType;
    }

    public String getColumnsStr() {
        return columnsStr;
    }

    public void setColumnsStr(String columnsStr) {
        this.columnsStr = columnsStr;
    }

    public List<ColumnInfoDO> getColumnsInfo() {
        return columnsInfo;
    }

    public void setColumnsInfo(List<ColumnInfoDO> columnsInfo) {
        this.columnsInfo = columnsInfo;
    }
}
